package com.baogu.factoryjob.mapper;


import com.baogu.model.job.TerminalWarning;
import com.baogu.model.job.where.TerminalWarningWhere;

import java.util.List;

public interface TerminalWarningMapper {
    int deleteByPrimaryKey(String id);

    int insert(TerminalWarning record);

    int insertSelective(TerminalWarning record);

    TerminalWarning selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TerminalWarning record);

    List<TerminalWarning> selectLastData(TerminalWarning record);

    int insertSelectiveLast(TerminalWarning record);

    int deleteLastByPrimaryKey(String id);

    void del(TerminalWarningWhere where);

    void delLast(TerminalWarningWhere where);
}